<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Welcome</title>
    <th:block th:fragment="static-file">
        <link rel="stylesheet" th:href="@{/webjars/layui/2.5.6/css/layui.css}"/>
        <script type="text/javascript" th:src="@{/webjars/jquery/3.5.1/jquery.min.js}"></script>
        <script type="text/javascript" th:src="@{/webjars/layui/2.5.6/layui.js}"></script>
    </th:block>

</head>
<body>

<th:block th:fragment="navbar">
    <nav class="navbar navbar-expand-lg  ">
        <ul class="layui-nav">
            <li class="layui-nav-item"><a th:href="@{/user}">用户管理</a></li>
            <li class="layui-nav-item "><a th:href="@{/role}">角色管理</a></li>
            <li class="layui-nav-item"><a th:href="@{/authority}">权限管理</a></li>
            <li class="layui-nav-item"><a th:href="@{/login}">登录</a></li>
            <li class="layui-nav-item"><a th:href="@{/user/logout}">登出</a></li>
        </ul>
    </nav>
</th:block>


<div class="layui-container">
    <h1>欢迎来到shiro测试系统。</h1>
</div>
</body>
<script>
layui.use('element', function(){
  var element = layui.element;
});



</script>
</html>